package com.hdoit.ares.logical.acc.service;

import java.util.HashMap;
import java.util.List;

import com.hdoit.ares.logical.acc.model.WithdrawApplyfor;
import com.hdoit.ares.logical.cust.model.Customer;
import com.hdoit.ares.logical.viewmodel.acc.Withdraw;
import com.hdoit.ares.logical.viewmodel.acc.WithdrawApplyforSearch;
import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.message.LoginModel;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年11月20日 16:32:09
 * @comment
 */
public interface IWithdrawApplyforService extends ISuperService<WithdrawApplyfor>{
	
	public List<WithdrawApplyfor> queryList(WithdrawApplyforSearch withdrawApplyforSearch, PagerModel pagerModel);

	public List<WithdrawApplyfor> queryList(WithdrawApplyforSearch withdrawApplyforSearch);

	public int queryCount(WithdrawApplyforSearch withdrawApplyforSearch);

	/*public boolean applyChange(WithdrawApplyfor withdrawApplyfor, LoginModel loginModel);*/

	public List<WithdrawApplyfor> queryUnderwayWithdraw(String customerId, String state);

	public List<WithdrawApplyfor> queryFinishedWithdraw(String customerId, String state);
	
	/*public boolean toWithDrawApplyfor(Customer customer,Double money);*/

	public boolean updateGoldBeanNum(Withdraw withdraw,LoginModel loginModel);
	
	public Withdraw updateToConfirm(String key);
	
	public boolean updateForRollBack(Withdraw withdraw,LoginModel loginModel);

	public HashMap<String,String> applyLimit(Customer customer,Double money);
		


}

